<form id="form_conta" action="" name="form_conta">
    <?php if (!$form->getObject()->isNew()): ?>
        <input type="hidden" name="sf_method" value="put" />
        <input type="hidden" name="id_conta" value="<?php echo $form->getObject()->getIdConta() ?>" />
    <?php endif; ?>
    <?php echo $form->renderHiddenFields() ?>
        <table class="form">
    	<tbody>
    	<tr><th colspan="2" class="title">Dados da Conta</th></tr>
	    <?php echo $form->renderGlobalErrors() ?>
	    <tr>
			<th><?php echo $form['banco']->renderLabel() ?></th>
			<td>
			    <?php echo $form['banco'] ?>
			    <?php echo form_error('conta[banco]'); ?>
			    <span id="erro_descricao"></span>
			</td>
	    </tr>
	    <tr>
			<th><?php echo $form['agencia']->renderLabel() ?></th>
			<td>
			    <?php echo $form['agencia'] ?>
			    <?php echo form_error('conta[agencia]'); ?>
			</td>
	    </tr>
	    <tr>
			<th><?php echo $form['conta']->renderLabel() ?></th>
			<td>
			    <?php echo $form['conta'] ?>
			    <?php echo form_error('conta[conta]'); ?>
			</td>
	    </tr>
	    <tr>
			<th><?php echo $form['saldo_inicial']->renderLabel() ?></th>
			<td>
			    <?php echo $form['saldo_inicial'] ?>
			    <?php echo form_error('conta[saldo_inicial]'); ?>
			</td>
	    </tr>
	</tbody>
    </table>
</form>